<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'orderdetial-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>
        <?php echo $this->renderFlash(); ?>
        
        <table border="0" cellpadding="0" cellspacing="0"  id="id-form">
            <tr>
                <th valign="top"><?php echo $form->labelEx($model,'drinkid'); ?></th>
                <td><?php echo $form->dropDownList($model,'drinkid',  CHtml::listData(Drinktype::model()->findAll(), 'drinktypeid', 'drinktypename'), array('class' => 'styledselect_form_1')); ?></td>
                <td></td>
            </tr>
            <tr>
                <th valign="top"><?php echo $form->labelEx($model,'syrupid1'); ?></th>
                <td><?php echo $form->textField($model,'syrupid1', array('class' => 'inp-form')); ?></td>
                <td></td>
            </tr>
            <tr>
                <th valign="top"><?php echo $form->labelEx($model,'syrupid2'); ?></th>
                <td><?php echo $form->textField($model,'syrupid2', array('class' => 'inp-form')); ?></td>
                <td></td>
            </tr>           
            
            <tr>
                <th>&nbsp;</th>
                <td valign="top">
                    <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save', array('class' => 'form-submit')); ?>
                </td>
                <td></td>
            </tr>
        </table>
	<div class="row">
		<?php echo $form->labelEx($model,'drinkid'); ?>
		<?php echo $form->textField($model,'drinkid'); ?>
		<?php echo $form->error($model,'drinkid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'syrupid1'); ?>
		<?php echo $form->textField($model,'syrupid1'); ?>
		<?php echo $form->error($model,'syrupid1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'syrupid2'); ?>
		<?php echo $form->textField($model,'syrupid2'); ?>
		<?php echo $form->error($model,'syrupid2'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->